package com.jt.demo24;

import org.springframework.stereotype.Component;

@Component
public class UserImpl  implements User{
    @Override
    public void app() {
        System.out.println("目标类");
    }

    @Override
    public String name() {
        return "2022年";
    }
}
